[INFO] cloning repository https://github.com/jcksnvllxr80/windows_rs_service
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcksnvllxr80/windows_rs_service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcksnvllxr80%2Fwindows_rs_service", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcksnvllxr80%2Fwindows_rs_service'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9c0fce1d7144b32328738c4b64e9be303f733a41
[INFO] fixing jcksnvllxr80/windows_rs_service against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcksnvllxr80%2Fwindows_rs_service" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jcksnvllxr80/windows_rs_service
[INFO] finished tweaking git repo https://github.com/jcksnvllxr80/windows_rs_service
[INFO] tweaked toml for git repo https://github.com/jcksnvllxr80/windows_rs_service written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jcksnvllxr80/windows_rs_service on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jcksnvllxr80/windows_rs_service already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows-service v0.7.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d760083c7493049b9acf00d7e815c47387d778e54a5e304d2bf758a56d0ee436
[INFO] running `Command { std: "docker" "start" "d760083c7493049b9acf00d7e815c47387d778e54a5e304d2bf758a56d0ee436", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d760083c7493049b9acf00d7e815c47387d778e54a5e304d2bf758a56d0ee436" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d760083c7493049b9acf00d7e815c47387d778e54a5e304d2bf758a56d0ee436", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d760083c7493049b9acf00d7e815c47387d778e54a5e304d2bf758a56d0ee436" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking windows-service v0.7.0
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking simplelog v0.12.2
[INFO] [stderr]     Checking windows_rs_service v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `windows_service::define_windows_service`, `windows_service::service`, `windows_service::service_control_handler`, `windows_service::service_dispatcher`
[INFO] [stdout]   --> src/main.rs:4:5
[INFO] [stdout]    |
[INFO] [stdout]  4 |     define_windows_service,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ no `define_windows_service` in the root
[INFO] [stdout]  5 |     service::{
[INFO] [stdout]    |     ^^^^^^^ could not find `service` in `windows_service`
[INFO] [stdout] ...
[INFO] [stdout]  9 |     service_control_handler::{self, ServiceControlHandlerResult},
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^ could not find `service_control_handler` in `windows_service`
[INFO] [stdout] 10 |     service_dispatcher,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ no `service_dispatcher` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Result` in crate `windows_service`
[INFO] [stdout]   --> src/main.rs:27:38
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn run_service() -> windows_service::Result<()> {
[INFO] [stdout]    |                                      ^^^^^^ not found in `windows_service`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::thread::Result;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::fmt::Result;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Result;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::result::Result;
[INFO] [stdout]    |
[INFO] [stdout]    = and 3 other candidates
[INFO] [stdout] help: if you import `Result`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 27 - fn run_service() -> windows_service::Result<()> {
[INFO] [stdout] 27 + fn run_service() -> Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Error` in `windows_service`
[INFO] [stdout]   --> src/main.rs:33:43
[INFO] [stdout]    |
[INFO] [stdout] 33 |             .map_err(|e| windows_service::Error::Winapi(e))?,
[INFO] [stdout]    |                                           ^^^^^ could not find `Error` in `windows_service`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]    = and 1 other candidate
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 33 -             .map_err(|e| windows_service::Error::Winapi(e))?,
[INFO] [stdout] 33 +             .map_err(|e| Error::Winapi(e))?,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Error` in `windows_service`
[INFO] [stdout]   --> src/main.rs:34:36
[INFO] [stdout]    |
[INFO] [stdout] 34 |     ).map_err(|e| windows_service::Error::Winapi(std::io::Error::new(std::io::ErrorKind::Other, e.to_string())))?;
[INFO] [stdout]    |                                    ^^^^^ could not find `Error` in `windows_service`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]    = and 1 other candidate
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 34 -     ).map_err(|e| windows_service::Error::Winapi(std::io::Error::new(std::io::ErrorKind::Other, e.to_string())))?;
[INFO] [stdout] 34 +     ).map_err(|e| Error::Winapi(std::io::Error::new(std::io::ErrorKind::Other, e.to_string())))?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Result` in crate `windows_service`
[INFO] [stdout]   --> src/main.rs:88:31
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn main() -> windows_service::Result<()> {
[INFO] [stdout]    |                               ^^^^^^ not found in `windows_service`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::thread::Result;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::fmt::Result;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Result;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::result::Result;
[INFO] [stdout]    |
[INFO] [stdout]    = and 3 other candidates
[INFO] [stdout] help: if you import `Result`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 88 - fn main() -> windows_service::Result<()> {
[INFO] [stdout] 88 + fn main() -> Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ffi_service_main` in this scope
[INFO] [stdout]   --> src/main.rs:89:45
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn my_service_main(_arguments: Vec<std::ffi::OsString>) {
[INFO] [stdout]    | ------------------------------------------------------- similarly named function `my_service_main` defined here
[INFO] [stdout] ...
[INFO] [stdout] 89 |     service_dispatcher::start(SERVICE_NAME, ffi_service_main)?;
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 89 -     service_dispatcher::start(SERVICE_NAME, ffi_service_main)?;
[INFO] [stdout] 89 +     service_dispatcher::start(SERVICE_NAME, my_service_main)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `windows_service::define_windows_service`, `windows_service::service`, `windows_service::service_control_handler`, `windows_service::service_dispatcher`
[INFO] [stdout]   --> src/main.rs:4:5
[INFO] [stdout]    |
[INFO] [stdout]  4 |     define_windows_service,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ no `define_windows_service` in the root
[INFO] [stdout]  5 |     service::{
[INFO] [stdout]    |     ^^^^^^^ could not find `service` in `windows_service`
[INFO] [stdout] ...
[INFO] [stdout]  9 |     service_control_handler::{self, ServiceControlHandlerResult},
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^ could not find `service_control_handler` in `windows_service`
[INFO] [stdout] 10 |     service_dispatcher,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ no `service_dispatcher` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Result` in crate `windows_service`
[INFO] [stdout]   --> src/main.rs:27:38
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn run_service() -> windows_service::Result<()> {
[INFO] [stdout]    |                                      ^^^^^^ not found in `windows_service`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::thread::Result;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::fmt::Result;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Result;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::result::Result;
[INFO] [stdout]    |
[INFO] [stdout]    = and 3 other candidates
[INFO] [stdout] help: if you import `Result`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 27 - fn run_service() -> windows_service::Result<()> {
[INFO] [stdout] 27 + fn run_service() -> Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Error` in `windows_service`
[INFO] [stdout]   --> src/main.rs:33:43
[INFO] [stdout]    |
[INFO] [stdout] 33 |             .map_err(|e| windows_service::Error::Winapi(e))?,
[INFO] [stdout]    |                                           ^^^^^ could not find `Error` in `windows_service`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]    = and 1 other candidate
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 33 -             .map_err(|e| windows_service::Error::Winapi(e))?,
[INFO] [stdout] 33 +             .map_err(|e| Error::Winapi(e))?,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Error` in `windows_service`
[INFO] [stdout]   --> src/main.rs:34:36
[INFO] [stdout]    |
[INFO] [stdout] 34 |     ).map_err(|e| windows_service::Error::Winapi(std::io::Error::new(std::io::ErrorKind::Other, e.to_string())))?;
[INFO] [stdout]    |                                    ^^^^^ could not find `Error` in `windows_service`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]    = and 1 other candidate
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 34 -     ).map_err(|e| windows_service::Error::Winapi(std::io::Error::new(std::io::ErrorKind::Other, e.to_string())))?;
[INFO] [stdout] 34 +     ).map_err(|e| Error::Winapi(std::io::Error::new(std::io::ErrorKind::Other, e.to_string())))?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Result` in crate `windows_service`
[INFO] [stdout]   --> src/main.rs:88:31
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn main() -> windows_service::Result<()> {
[INFO] [stdout]    |                               ^^^^^^ not found in `windows_service`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::thread::Result;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::fmt::Result;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Result;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::result::Result;
[INFO] [stdout]    |
[INFO] [stdout]    = and 3 other candidates
[INFO] [stdout] help: if you import `Result`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 88 - fn main() -> windows_service::Result<()> {
[INFO] [stdout] 88 + fn main() -> Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ffi_service_main` in this scope
[INFO] [stdout]   --> src/main.rs:89:45
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn my_service_main(_arguments: Vec<std::ffi::OsString>) {
[INFO] [stdout]    | ------------------------------------------------------- similarly named function `my_service_main` defined here
[INFO] [stdout] ...
[INFO] [stdout] 89 |     service_dispatcher::start(SERVICE_NAME, ffi_service_main)?;
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 89 -     service_dispatcher::start(SERVICE_NAME, ffi_service_main)?;
[INFO] [stdout] 89 +     service_dispatcher::start(SERVICE_NAME, my_service_main)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `windows_rs_service` (bin "windows_rs_service") due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `windows_rs_service` (bin "windows_rs_service" test) due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "d760083c7493049b9acf00d7e815c47387d778e54a5e304d2bf758a56d0ee436", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d760083c7493049b9acf00d7e815c47387d778e54a5e304d2bf758a56d0ee436", kill_on_drop: false }`
[INFO] [stdout] d760083c7493049b9acf00d7e815c47387d778e54a5e304d2bf758a56d0ee436
